package assql
{
	public class SQLTimestamp
	{
		private var time:Number;
		
		public function SQLTimestamp(time:Number)
		{
			this.time = time;
		}
		
		public function getDate():Date {
			return new Date(time);
		}
		
		public function getTime():Number {
			return time;
		}
		
		public function setTime(time:Number):void {
			this.time = time;
		}
	}
}